home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / Conic Sections 0.9.2 / Include / DrawContent.h < prev    next >
Encoding:
Text File  |  1997-05-10  |  721 b   |  34 lines  |  [TEXT/CWIE]

  1. //Copyright (c) 1997 Aidan Cully
  2. //All rights reserved
  3.  
  4. #ifndef __DRAWCONTENT_H
  5. #define __DRAWCONTENT_H
  6.  
  7. #include "CLLayout.h"
  8. #include "Conic.h"
  9. #include "CLReceiver.h"
  10. #include "DocContent.h"
  11.  
  12. class TEquContent:
  13.     public TDocContent
  14. {
  15. protected:
  16.     virtual SInt8 DXDivY( int, int, unsigned char*, unsigned char* );
  17.     virtual void DrawSelf( TDrawSlate* );
  18. public:
  19.     TEquContent( TLayoutBranch*, MActionHandler*, Boolean, TPlane* );
  20. };
  21.  
  22. class TPlotContent:
  23.     public TDocContent
  24. {
  25. protected:
  26.     virtual SInt8 DrawAxis( TDrawSlate* );
  27.     virtual SInt8 DrawIntersect( TDrawSlate* );
  28.     TConic *mConic;
  29. public:
  30.     TPlotContent( TLayoutBranch*, MActionHandler*, Boolean, TConic*, TPlane* );
  31.     virtual void DrawSelf( TDrawSlate* );
  32. };
  33.  
  34. #endif